<?php

use Illuminate\Support\Facades\Route;

Route::group(['namespace' => 'Permission'], function () {
    Route::resources([
        'roles' => 'RoleController',
    ]);
    Route::get('/permissions', 'RoleController@getPermissions');
});
